Optimal. Leaf size=304 \[ \frac {2 d \left (3 b^2 c^2-3 a b c d+a^2 d^2\right ) \sqrt {x}}{b^3}+\frac {2 d^2 (3 b c-a d) x^{5/2}}{5 b^2}+\frac {2 d^3 x^{9/2}}{9 b}-\frac {(b c-a d)^3 \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}\right )}{\sqrt {2} a^{3/4} b^{13/4}}+\frac {(b c-a d)^3 \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}\right )}{\sqrt {2} a^{3/4} b^{13/4}}-\frac {(b c-a d)^3 \log \left (\sqrt {a}-\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {b} x\right )}{2 \sqrt {2} a^{3/4} b^{13/4}}+\frac {(b c-a d)^3 \log \left (\sqrt {a}+\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {b} x\right )}{2 \sqrt {2} a^{3/4} b^{13/4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.17, antiderivative size = 304, normalized size of antiderivative = 1.00, number of steps
used = 12, number of rules used = 8, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {472, 335, 217,
1179, 642, 1176, 631, 210} \begin {gather*} -\frac {\text {ArcTan}\left (1-\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}\right ) (b c-a d)^3}{\sqrt {2} a^{3/4} b^{13/4}}+\frac {\text {ArcTan}\left (\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}+1\right ) (b c-a d)^3}{\sqrt {2} a^{3/4} b^{13/4}}-\frac {(b c-a d)^3 \log \left (-\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {a}+\sqrt {b} x\right )}{2 \sqrt {2} a^{3/4} b^{13/4}}+\frac {(b c-a d)^3 \log \left (\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {a}+\sqrt {b} x\right )}{2 \sqrt {2} a^{3/4} b^{13/4}}+\frac {2 d \sqrt {x} \left (a^2 d^2-3 a b c d+3 b^2 c^2\right )}{b^3}+\frac {2 d^2 x^{5/2} (3 b c-a d)}{5 b^2}+\frac {2 d^3 x^{9/2}}{9 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 217
Rule 335
Rule 472
Rule 631
Rule 642
Rule 1176
Rule 1179
Rubi steps
\begin {align*} \int \frac {\left (c+d x^2\right )^3}{\sqrt {x} \left (a+b x^2\right )} \, dx &=\int \left (\frac {d \left (3 b^2 c^2-3 a b c d+a^2 d^2\right )}{b^3 \sqrt {x}}+\frac {d^2 (3 b c-a d) x^{3/2}}{b^2}+\frac {d^3 x^{7/2}}{b}+\frac {b^3 c^3-3 a b^2 c^2 d+3 a^2 b c d^2-a^3 d^3}{b^3 \sqrt {x} \left (a+b x^2\right )}\right ) \, dx\\ &=\frac {2 d \left (3 b^2 c^2-3 a b c d+a^2 d^2\right ) \sqrt {x}}{b^3}+\frac {2 d^2 (3 b c-a d) x^{5/2}}{5 b^2}+\frac {2 d^3 x^{9/2}}{9 b}+\frac {(b c-a d)^3 \int \frac {1}{\sqrt {x} \left (a+b x^2\right )} \, dx}{b^3}\\ &=\frac {2 d \left (3 b^2 c^2-3 a b c d+a^2 d^2\right ) \sqrt {x}}{b^3}+\frac {2 d^2 (3 b c-a d) x^{5/2}}{5 b^2}+\frac {2 d^3 x^{9/2}}{9 b}+\frac {\left (2 (b c-a d)^3\right ) \text {Subst}\left (\int \frac {1}{a+b x^4} \, dx,x,\sqrt {x}\right )}{b^3}\\ &=\frac {2 d \left (3 b^2 c^2-3 a b c d+a^2 d^2\right ) \sqrt {x}}{b^3}+\frac {2 d^2 (3 b c-a d) x^{5/2}}{5 b^2}+\frac {2 d^3 x^{9/2}}{9 b}+\frac {(b c-a d)^3 \text {Subst}\left (\int \frac {\sqrt {a}-\sqrt {b} x^2}{a+b x^4} \, dx,x,\sqrt {x}\right )}{\sqrt {a} b^3}+\frac {(b c-a d)^3 \text {Subst}\left (\int \frac {\sqrt {a}+\sqrt {b} x^2}{a+b x^4} \, dx,x,\sqrt {x}\right )}{\sqrt {a} b^3}\\ &=\frac {2 d \left (3 b^2 c^2-3 a b c d+a^2 d^2\right ) \sqrt {x}}{b^3}+\frac {2 d^2 (3 b c-a d) x^{5/2}}{5 b^2}+\frac {2 d^3 x^{9/2}}{9 b}+\frac {(b c-a d)^3 \text {Subst}\left (\int \frac {1}{\frac {\sqrt {a}}{\sqrt {b}}-\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{b}}+x^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {a} b^{7/2}}+\frac {(b c-a d)^3 \text {Subst}\left (\int \frac {1}{\frac {\sqrt {a}}{\sqrt {b}}+\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{b}}+x^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {a} b^{7/2}}-\frac {(b c-a d)^3 \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt [4]{a}}{\sqrt [4]{b}}+2 x}{-\frac {\sqrt {a}}{\sqrt {b}}-\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{b}}-x^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {2} a^{3/4} b^{13/4}}-\frac {(b c-a d)^3 \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt [4]{a}}{\sqrt [4]{b}}-2 x}{-\frac {\sqrt {a}}{\sqrt {b}}+\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{b}}-x^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {2} a^{3/4} b^{13/4}}\\ &=\frac {2 d \left (3 b^2 c^2-3 a b c d+a^2 d^2\right ) \sqrt {x}}{b^3}+\frac {2 d^2 (3 b c-a d) x^{5/2}}{5 b^2}+\frac {2 d^3 x^{9/2}}{9 b}-\frac {(b c-a d)^3 \log \left (\sqrt {a}-\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {b} x\right )}{2 \sqrt {2} a^{3/4} b^{13/4}}+\frac {(b c-a d)^3 \log \left (\sqrt {a}+\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {b} x\right )}{2 \sqrt {2} a^{3/4} b^{13/4}}+\frac {(b c-a d)^3 \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}\right )}{\sqrt {2} a^{3/4} b^{13/4}}-\frac {(b c-a d)^3 \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}\right )}{\sqrt {2} a^{3/4} b^{13/4}}\\ &=\frac {2 d \left (3 b^2 c^2-3 a b c d+a^2 d^2\right ) \sqrt {x}}{b^3}+\frac {2 d^2 (3 b c-a d) x^{5/2}}{5 b^2}+\frac {2 d^3 x^{9/2}}{9 b}-\frac {(b c-a d)^3 \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}\right )}{\sqrt {2} a^{3/4} b^{13/4}}+\frac {(b c-a d)^3 \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}\right )}{\sqrt {2} a^{3/4} b^{13/4}}-\frac {(b c-a d)^3 \log \left (\sqrt {a}-\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {b} x\right )}{2 \sqrt {2} a^{3/4} b^{13/4}}+\frac {(b c-a d)^3 \log \left (\sqrt {a}+\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {b} x\right )}{2 \sqrt {2} a^{3/4} b^{13/4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.23, size = 188, normalized size = 0.62 \begin {gather*} \frac {4 \sqrt [4]{b} d \sqrt {x} \left (45 a^2 d^2-9 a b d \left (15 c+d x^2\right )+b^2 \left (135 c^2+27 c d x^2+5 d^2 x^4\right )\right )+\frac {45 \sqrt {2} (-b c+a d)^3 \tan ^{-1}\left (\frac {\sqrt {a}-\sqrt {b} x}{\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}}\right )}{a^{3/4}}+\frac {45 \sqrt {2} (b c-a d)^3 \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}}{\sqrt {a}+\sqrt {b} x}\right )}{a^{3/4}}}{90 b^{13/4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 214, normalized size = 0.70
method | result | size |
derivativedivides | \(\frac {2 d \left (\frac {b^{2} x^{\frac {9}{2}} d^{2}}{9}-\frac {a b \,d^{2} x^{\frac {5}{2}}}{5}+\frac {3 b^{2} c d \,x^{\frac {5}{2}}}{5}+a^{2} d^{2} \sqrt {x}-3 a b c d \sqrt {x}+3 b^{2} c^{2} \sqrt {x}\right )}{b^{3}}+\frac {\left (-a^{3} d^{3}+3 a^{2} b c \,d^{2}-3 a \,b^{2} c^{2} d +b^{3} c^{3}\right ) \left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {2}\, \left (\ln \left (\frac {x +\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {a}{b}}}{x -\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {a}{b}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}+1\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}-1\right )\right )}{4 b^{3} a}\) | \(214\) |
default | \(\frac {2 d \left (\frac {b^{2} x^{\frac {9}{2}} d^{2}}{9}-\frac {a b \,d^{2} x^{\frac {5}{2}}}{5}+\frac {3 b^{2} c d \,x^{\frac {5}{2}}}{5}+a^{2} d^{2} \sqrt {x}-3 a b c d \sqrt {x}+3 b^{2} c^{2} \sqrt {x}\right )}{b^{3}}+\frac {\left (-a^{3} d^{3}+3 a^{2} b c \,d^{2}-3 a \,b^{2} c^{2} d +b^{3} c^{3}\right ) \left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {2}\, \left (\ln \left (\frac {x +\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {a}{b}}}{x -\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {a}{b}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}+1\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}-1\right )\right )}{4 b^{3} a}\) | \(214\) |
risch | \(\frac {2 \left (5 b^{2} d^{2} x^{4}-9 a b \,d^{2} x^{2}+27 b^{2} c d \,x^{2}+45 a^{2} d^{2}-135 a b c d +135 b^{2} c^{2}\right ) d \sqrt {x}}{45 b^{3}}-\frac {\left (\frac {a}{b}\right )^{\frac {1}{4}} a^{2} \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}+1\right ) d^{3}}{2 b^{3}}+\frac {3 \left (\frac {a}{b}\right )^{\frac {1}{4}} a \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}+1\right ) c \,d^{2}}{2 b^{2}}-\frac {3 \left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}+1\right ) c^{2} d}{2 b}+\frac {\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}+1\right ) c^{3}}{2 a}-\frac {\left (\frac {a}{b}\right )^{\frac {1}{4}} a^{2} \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}-1\right ) d^{3}}{2 b^{3}}+\frac {3 \left (\frac {a}{b}\right )^{\frac {1}{4}} a \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}-1\right ) c \,d^{2}}{2 b^{2}}-\frac {3 \left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}-1\right ) c^{2} d}{2 b}+\frac {\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}-1\right ) c^{3}}{2 a}-\frac {\left (\frac {a}{b}\right )^{\frac {1}{4}} a^{2} \sqrt {2}\, \ln \left (\frac {x +\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {a}{b}}}{x -\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {a}{b}}}\right ) d^{3}}{4 b^{3}}+\frac {3 \left (\frac {a}{b}\right )^{\frac {1}{4}} a \sqrt {2}\, \ln \left (\frac {x +\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {a}{b}}}{x -\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {a}{b}}}\right ) c \,d^{2}}{4 b^{2}}-\frac {3 \left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {2}\, \ln \left (\frac {x +\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {a}{b}}}{x -\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {a}{b}}}\right ) c^{2} d}{4 b}+\frac {\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {2}\, \ln \left (\frac {x +\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {a}{b}}}{x -\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {x}\, \sqrt {2}+\sqrt {\frac {a}{b}}}\right ) c^{3}}{4 a}\) | \(639\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 390, normalized size = 1.28 \begin {gather*} \frac {2 \, {\left (5 \, b^{2} d^{3} x^{\frac {9}{2}} + 9 \, {\left (3 \, b^{2} c d^{2} - a b d^{3}\right )} x^{\frac {5}{2}} + 45 \, {\left (3 \, b^{2} c^{2} d - 3 \, a b c d^{2} + a^{2} d^{3}\right )} \sqrt {x}\right )}}{45 \, b^{3}} + \frac {\frac {2 \, \sqrt {2} {\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - a^{3} d^{3}\right )} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} a^{\frac {1}{4}} b^{\frac {1}{4}} + 2 \, \sqrt {b} \sqrt {x}\right )}}{2 \, \sqrt {\sqrt {a} \sqrt {b}}}\right )}{\sqrt {a} \sqrt {\sqrt {a} \sqrt {b}}} + \frac {2 \, \sqrt {2} {\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - a^{3} d^{3}\right )} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} a^{\frac {1}{4}} b^{\frac {1}{4}} - 2 \, \sqrt {b} \sqrt {x}\right )}}{2 \, \sqrt {\sqrt {a} \sqrt {b}}}\right )}{\sqrt {a} \sqrt {\sqrt {a} \sqrt {b}}} + \frac {\sqrt {2} {\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - a^{3} d^{3}\right )} \log \left (\sqrt {2} a^{\frac {1}{4}} b^{\frac {1}{4}} \sqrt {x} + \sqrt {b} x + \sqrt {a}\right )}{a^{\frac {3}{4}} b^{\frac {1}{4}}} - \frac {\sqrt {2} {\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - a^{3} d^{3}\right )} \log \left (-\sqrt {2} a^{\frac {1}{4}} b^{\frac {1}{4}} \sqrt {x} + \sqrt {b} x + \sqrt {a}\right )}{a^{\frac {3}{4}} b^{\frac {1}{4}}}}{4 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 1862 vs.
\(2 (227) = 454\).
time = 0.58, size = 1862, normalized size = 6.12 \begin {gather*} -\frac {180 \, b^{3} \left (-\frac {b^{12} c^{12} - 12 \, a b^{11} c^{11} d + 66 \, a^{2} b^{10} c^{10} d^{2} - 220 \, a^{3} b^{9} c^{9} d^{3} + 495 \, a^{4} b^{8} c^{8} d^{4} - 792 \, a^{5} b^{7} c^{7} d^{5} + 924 \, a^{6} b^{6} c^{6} d^{6} - 792 \, a^{7} b^{5} c^{5} d^{7} + 495 \, a^{8} b^{4} c^{4} d^{8} - 220 \, a^{9} b^{3} c^{3} d^{9} + 66 \, a^{10} b^{2} c^{2} d^{10} - 12 \, a^{11} b c d^{11} + a^{12} d^{12}}{a^{3} b^{13}}\right )^{\frac {1}{4}} \arctan \left (\frac {\sqrt {a^{2} b^{6} \sqrt {-\frac {b^{12} c^{12} - 12 \, a b^{11} c^{11} d + 66 \, a^{2} b^{10} c^{10} d^{2} - 220 \, a^{3} b^{9} c^{9} d^{3} + 495 \, a^{4} b^{8} c^{8} d^{4} - 792 \, a^{5} b^{7} c^{7} d^{5} + 924 \, a^{6} b^{6} c^{6} d^{6} - 792 \, a^{7} b^{5} c^{5} d^{7} + 495 \, a^{8} b^{4} c^{4} d^{8} - 220 \, a^{9} b^{3} c^{3} d^{9} + 66 \, a^{10} b^{2} c^{2} d^{10} - 12 \, a^{11} b c d^{11} + a^{12} d^{12}}{a^{3} b^{13}}} + {\left (b^{6} c^{6} - 6 \, a b^{5} c^{5} d + 15 \, a^{2} b^{4} c^{4} d^{2} - 20 \, a^{3} b^{3} c^{3} d^{3} + 15 \, a^{4} b^{2} c^{2} d^{4} - 6 \, a^{5} b c d^{5} + a^{6} d^{6}\right )} x} a^{2} b^{10} \left (-\frac {b^{12} c^{12} - 12 \, a b^{11} c^{11} d + 66 \, a^{2} b^{10} c^{10} d^{2} - 220 \, a^{3} b^{9} c^{9} d^{3} + 495 \, a^{4} b^{8} c^{8} d^{4} - 792 \, a^{5} b^{7} c^{7} d^{5} + 924 \, a^{6} b^{6} c^{6} d^{6} - 792 \, a^{7} b^{5} c^{5} d^{7} + 495 \, a^{8} b^{4} c^{4} d^{8} - 220 \, a^{9} b^{3} c^{3} d^{9} + 66 \, a^{10} b^{2} c^{2} d^{10} - 12 \, a^{11} b c d^{11} + a^{12} d^{12}}{a^{3} b^{13}}\right )^{\frac {3}{4}} + {\left (a^{2} b^{13} c^{3} - 3 \, a^{3} b^{12} c^{2} d + 3 \, a^{4} b^{11} c d^{2} - a^{5} b^{10} d^{3}\right )} \sqrt {x} \left (-\frac {b^{12} c^{12} - 12 \, a b^{11} c^{11} d + 66 \, a^{2} b^{10} c^{10} d^{2} - 220 \, a^{3} b^{9} c^{9} d^{3} + 495 \, a^{4} b^{8} c^{8} d^{4} - 792 \, a^{5} b^{7} c^{7} d^{5} + 924 \, a^{6} b^{6} c^{6} d^{6} - 792 \, a^{7} b^{5} c^{5} d^{7} + 495 \, a^{8} b^{4} c^{4} d^{8} - 220 \, a^{9} b^{3} c^{3} d^{9} + 66 \, a^{10} b^{2} c^{2} d^{10} - 12 \, a^{11} b c d^{11} + a^{12} d^{12}}{a^{3} b^{13}}\right )^{\frac {3}{4}}}{b^{12} c^{12} - 12 \, a b^{11} c^{11} d + 66 \, a^{2} b^{10} c^{10} d^{2} - 220 \, a^{3} b^{9} c^{9} d^{3} + 495 \, a^{4} b^{8} c^{8} d^{4} - 792 \, a^{5} b^{7} c^{7} d^{5} + 924 \, a^{6} b^{6} c^{6} d^{6} - 792 \, a^{7} b^{5} c^{5} d^{7} + 495 \, a^{8} b^{4} c^{4} d^{8} - 220 \, a^{9} b^{3} c^{3} d^{9} + 66 \, a^{10} b^{2} c^{2} d^{10} - 12 \, a^{11} b c d^{11} + a^{12} d^{12}}\right ) + 45 \, b^{3} \left (-\frac {b^{12} c^{12} - 12 \, a b^{11} c^{11} d + 66 \, a^{2} b^{10} c^{10} d^{2} - 220 \, a^{3} b^{9} c^{9} d^{3} + 495 \, a^{4} b^{8} c^{8} d^{4} - 792 \, a^{5} b^{7} c^{7} d^{5} + 924 \, a^{6} b^{6} c^{6} d^{6} - 792 \, a^{7} b^{5} c^{5} d^{7} + 495 \, a^{8} b^{4} c^{4} d^{8} - 220 \, a^{9} b^{3} c^{3} d^{9} + 66 \, a^{10} b^{2} c^{2} d^{10} - 12 \, a^{11} b c d^{11} + a^{12} d^{12}}{a^{3} b^{13}}\right )^{\frac {1}{4}} \log \left (a b^{3} \left (-\frac {b^{12} c^{12} - 12 \, a b^{11} c^{11} d + 66 \, a^{2} b^{10} c^{10} d^{2} - 220 \, a^{3} b^{9} c^{9} d^{3} + 495 \, a^{4} b^{8} c^{8} d^{4} - 792 \, a^{5} b^{7} c^{7} d^{5} + 924 \, a^{6} b^{6} c^{6} d^{6} - 792 \, a^{7} b^{5} c^{5} d^{7} + 495 \, a^{8} b^{4} c^{4} d^{8} - 220 \, a^{9} b^{3} c^{3} d^{9} + 66 \, a^{10} b^{2} c^{2} d^{10} - 12 \, a^{11} b c d^{11} + a^{12} d^{12}}{a^{3} b^{13}}\right )^{\frac {1}{4}} - {\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - a^{3} d^{3}\right )} \sqrt {x}\right ) - 45 \, b^{3} \left (-\frac {b^{12} c^{12} - 12 \, a b^{11} c^{11} d + 66 \, a^{2} b^{10} c^{10} d^{2} - 220 \, a^{3} b^{9} c^{9} d^{3} + 495 \, a^{4} b^{8} c^{8} d^{4} - 792 \, a^{5} b^{7} c^{7} d^{5} + 924 \, a^{6} b^{6} c^{6} d^{6} - 792 \, a^{7} b^{5} c^{5} d^{7} + 495 \, a^{8} b^{4} c^{4} d^{8} - 220 \, a^{9} b^{3} c^{3} d^{9} + 66 \, a^{10} b^{2} c^{2} d^{10} - 12 \, a^{11} b c d^{11} + a^{12} d^{12}}{a^{3} b^{13}}\right )^{\frac {1}{4}} \log \left (-a b^{3} \left (-\frac {b^{12} c^{12} - 12 \, a b^{11} c^{11} d + 66 \, a^{2} b^{10} c^{10} d^{2} - 220 \, a^{3} b^{9} c^{9} d^{3} + 495 \, a^{4} b^{8} c^{8} d^{4} - 792 \, a^{5} b^{7} c^{7} d^{5} + 924 \, a^{6} b^{6} c^{6} d^{6} - 792 \, a^{7} b^{5} c^{5} d^{7} + 495 \, a^{8} b^{4} c^{4} d^{8} - 220 \, a^{9} b^{3} c^{3} d^{9} + 66 \, a^{10} b^{2} c^{2} d^{10} - 12 \, a^{11} b c d^{11} + a^{12} d^{12}}{a^{3} b^{13}}\right )^{\frac {1}{4}} - {\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - a^{3} d^{3}\right )} \sqrt {x}\right ) - 4 \, {\left (5 \, b^{2} d^{3} x^{4} + 135 \, b^{2} c^{2} d - 135 \, a b c d^{2} + 45 \, a^{2} d^{3} + 9 \, {\left (3 \, b^{2} c d^{2} - a b d^{3}\right )} x^{2}\right )} \sqrt {x}}{90 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 649 vs.
\(2 (289) = 578\).
time = 13.44, size = 649, normalized size = 2.13 \begin {gather*} \begin {cases} \tilde {\infty } \left (- \frac {2 c^{3}}{3 x^{\frac {3}{2}}} + 6 c^{2} d \sqrt {x} + \frac {6 c d^{2} x^{\frac {5}{2}}}{5} + \frac {2 d^{3} x^{\frac {9}{2}}}{9}\right ) & \text {for}\: a = 0 \wedge b = 0 \\\frac {- \frac {2 c^{3}}{3 x^{\frac {3}{2}}} + 6 c^{2} d \sqrt {x} + \frac {6 c d^{2} x^{\frac {5}{2}}}{5} + \frac {2 d^{3} x^{\frac {9}{2}}}{9}}{b} & \text {for}\: a = 0 \\\frac {2 c^{3} \sqrt {x} + \frac {6 c^{2} d x^{\frac {5}{2}}}{5} + \frac {2 c d^{2} x^{\frac {9}{2}}}{3} + \frac {2 d^{3} x^{\frac {13}{2}}}{13}}{a} & \text {for}\: b = 0 \\\frac {2 a^{2} d^{3} \sqrt {x}}{b^{3}} + \frac {a^{2} d^{3} \sqrt [4]{- \frac {a}{b}} \log {\left (\sqrt {x} - \sqrt [4]{- \frac {a}{b}} \right )}}{2 b^{3}} - \frac {a^{2} d^{3} \sqrt [4]{- \frac {a}{b}} \log {\left (\sqrt {x} + \sqrt [4]{- \frac {a}{b}} \right )}}{2 b^{3}} - \frac {a^{2} d^{3} \sqrt [4]{- \frac {a}{b}} \operatorname {atan}{\left (\frac {\sqrt {x}}{\sqrt [4]{- \frac {a}{b}}} \right )}}{b^{3}} - \frac {6 a c d^{2} \sqrt {x}}{b^{2}} - \frac {3 a c d^{2} \sqrt [4]{- \frac {a}{b}} \log {\left (\sqrt {x} - \sqrt [4]{- \frac {a}{b}} \right )}}{2 b^{2}} + \frac {3 a c d^{2} \sqrt [4]{- \frac {a}{b}} \log {\left (\sqrt {x} + \sqrt [4]{- \frac {a}{b}} \right )}}{2 b^{2}} + \frac {3 a c d^{2} \sqrt [4]{- \frac {a}{b}} \operatorname {atan}{\left (\frac {\sqrt {x}}{\sqrt [4]{- \frac {a}{b}}} \right )}}{b^{2}} - \frac {2 a d^{3} x^{\frac {5}{2}}}{5 b^{2}} + \frac {6 c^{2} d \sqrt {x}}{b} + \frac {3 c^{2} d \sqrt [4]{- \frac {a}{b}} \log {\left (\sqrt {x} - \sqrt [4]{- \frac {a}{b}} \right )}}{2 b} - \frac {3 c^{2} d \sqrt [4]{- \frac {a}{b}} \log {\left (\sqrt {x} + \sqrt [4]{- \frac {a}{b}} \right )}}{2 b} - \frac {3 c^{2} d \sqrt [4]{- \frac {a}{b}} \operatorname {atan}{\left (\frac {\sqrt {x}}{\sqrt [4]{- \frac {a}{b}}} \right )}}{b} + \frac {6 c d^{2} x^{\frac {5}{2}}}{5 b} + \frac {2 d^{3} x^{\frac {9}{2}}}{9 b} - \frac {c^{3} \sqrt [4]{- \frac {a}{b}} \log {\left (\sqrt {x} - \sqrt [4]{- \frac {a}{b}} \right )}}{2 a} + \frac {c^{3} \sqrt [4]{- \frac {a}{b}} \log {\left (\sqrt {x} + \sqrt [4]{- \frac {a}{b}} \right )}}{2 a} + \frac {c^{3} \sqrt [4]{- \frac {a}{b}} \operatorname {atan}{\left (\frac {\sqrt {x}}{\sqrt [4]{- \frac {a}{b}}} \right )}}{a} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 490 vs.
\(2 (227) = 454\).
time = 1.30, size = 490, normalized size = 1.61 \begin {gather*} \frac {\sqrt {2} {\left (\left (a b^{3}\right )^{\frac {1}{4}} b^{3} c^{3} - 3 \, \left (a b^{3}\right )^{\frac {1}{4}} a b^{2} c^{2} d + 3 \, \left (a b^{3}\right )^{\frac {1}{4}} a^{2} b c d^{2} - \left (a b^{3}\right )^{\frac {1}{4}} a^{3} d^{3}\right )} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} \left (\frac {a}{b}\right )^{\frac {1}{4}} + 2 \, \sqrt {x}\right )}}{2 \, \left (\frac {a}{b}\right )^{\frac {1}{4}}}\right )}{2 \, a b^{4}} + \frac {\sqrt {2} {\left (\left (a b^{3}\right )^{\frac {1}{4}} b^{3} c^{3} - 3 \, \left (a b^{3}\right )^{\frac {1}{4}} a b^{2} c^{2} d + 3 \, \left (a b^{3}\right )^{\frac {1}{4}} a^{2} b c d^{2} - \left (a b^{3}\right )^{\frac {1}{4}} a^{3} d^{3}\right )} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} \left (\frac {a}{b}\right )^{\frac {1}{4}} - 2 \, \sqrt {x}\right )}}{2 \, \left (\frac {a}{b}\right )^{\frac {1}{4}}}\right )}{2 \, a b^{4}} + \frac {\sqrt {2} {\left (\left (a b^{3}\right )^{\frac {1}{4}} b^{3} c^{3} - 3 \, \left (a b^{3}\right )^{\frac {1}{4}} a b^{2} c^{2} d + 3 \, \left (a b^{3}\right )^{\frac {1}{4}} a^{2} b c d^{2} - \left (a b^{3}\right )^{\frac {1}{4}} a^{3} d^{3}\right )} \log \left (\sqrt {2} \sqrt {x} \left (\frac {a}{b}\right )^{\frac {1}{4}} + x + \sqrt {\frac {a}{b}}\right )}{4 \, a b^{4}} - \frac {\sqrt {2} {\left (\left (a b^{3}\right )^{\frac {1}{4}} b^{3} c^{3} - 3 \, \left (a b^{3}\right )^{\frac {1}{4}} a b^{2} c^{2} d + 3 \, \left (a b^{3}\right )^{\frac {1}{4}} a^{2} b c d^{2} - \left (a b^{3}\right )^{\frac {1}{4}} a^{3} d^{3}\right )} \log \left (-\sqrt {2} \sqrt {x} \left (\frac {a}{b}\right )^{\frac {1}{4}} + x + \sqrt {\frac {a}{b}}\right )}{4 \, a b^{4}} + \frac {2 \, {\left (5 \, b^{8} d^{3} x^{\frac {9}{2}} + 27 \, b^{8} c d^{2} x^{\frac {5}{2}} - 9 \, a b^{7} d^{3} x^{\frac {5}{2}} + 135 \, b^{8} c^{2} d \sqrt {x} - 135 \, a b^{7} c d^{2} \sqrt {x} + 45 \, a^{2} b^{6} d^{3} \sqrt {x}\right )}}{45 \, b^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.21, size = 1460, normalized size = 4.80 \begin {gather*} \sqrt {x}\,\left (\frac {6\,c^2\,d}{b}+\frac {a\,\left (\frac {2\,a\,d^3}{b^2}-\frac {6\,c\,d^2}{b}\right )}{b}\right )-x^{5/2}\,\left (\frac {2\,a\,d^3}{5\,b^2}-\frac {6\,c\,d^2}{5\,b}\right )+\frac {2\,d^3\,x^{9/2}}{9\,b}-\frac {\mathrm {atan}\left (\frac {\frac {\left (\frac {8\,\sqrt {x}\,\left (a^6\,d^6-6\,a^5\,b\,c\,d^5+15\,a^4\,b^2\,c^2\,d^4-20\,a^3\,b^3\,c^3\,d^3+15\,a^2\,b^4\,c^4\,d^2-6\,a\,b^5\,c^5\,d+b^6\,c^6\right )}{b^3}-\frac {{\left (a\,d-b\,c\right )}^3\,\left (16\,a^4\,d^3-48\,a^3\,b\,c\,d^2+48\,a^2\,b^2\,c^2\,d-16\,a\,b^3\,c^3\right )}{2\,{\left (-a\right )}^{3/4}\,b^{13/4}}\right )\,{\left (a\,d-b\,c\right )}^3\,1{}\mathrm {i}}{{\left (-a\right )}^{3/4}\,b^{13/4}}+\frac {\left (\frac {8\,\sqrt {x}\,\left (a^6\,d^6-6\,a^5\,b\,c\,d^5+15\,a^4\,b^2\,c^2\,d^4-20\,a^3\,b^3\,c^3\,d^3+15\,a^2\,b^4\,c^4\,d^2-6\,a\,b^5\,c^5\,d+b^6\,c^6\right )}{b^3}+\frac {{\left (a\,d-b\,c\right )}^3\,\left (16\,a^4\,d^3-48\,a^3\,b\,c\,d^2+48\,a^2\,b^2\,c^2\,d-16\,a\,b^3\,c^3\right )}{2\,{\left (-a\right )}^{3/4}\,b^{13/4}}\right )\,{\left (a\,d-b\,c\right )}^3\,1{}\mathrm {i}}{{\left (-a\right )}^{3/4}\,b^{13/4}}}{\frac {\left (\frac {8\,\sqrt {x}\,\left (a^6\,d^6-6\,a^5\,b\,c\,d^5+15\,a^4\,b^2\,c^2\,d^4-20\,a^3\,b^3\,c^3\,d^3+15\,a^2\,b^4\,c^4\,d^2-6\,a\,b^5\,c^5\,d+b^6\,c^6\right )}{b^3}-\frac {{\left (a\,d-b\,c\right )}^3\,\left (16\,a^4\,d^3-48\,a^3\,b\,c\,d^2+48\,a^2\,b^2\,c^2\,d-16\,a\,b^3\,c^3\right )}{2\,{\left (-a\right )}^{3/4}\,b^{13/4}}\right )\,{\left (a\,d-b\,c\right )}^3}{{\left (-a\right )}^{3/4}\,b^{13/4}}-\frac {\left (\frac {8\,\sqrt {x}\,\left (a^6\,d^6-6\,a^5\,b\,c\,d^5+15\,a^4\,b^2\,c^2\,d^4-20\,a^3\,b^3\,c^3\,d^3+15\,a^2\,b^4\,c^4\,d^2-6\,a\,b^5\,c^5\,d+b^6\,c^6\right )}{b^3}+\frac {{\left (a\,d-b\,c\right )}^3\,\left (16\,a^4\,d^3-48\,a^3\,b\,c\,d^2+48\,a^2\,b^2\,c^2\,d-16\,a\,b^3\,c^3\right )}{2\,{\left (-a\right )}^{3/4}\,b^{13/4}}\right )\,{\left (a\,d-b\,c\right )}^3}{{\left (-a\right )}^{3/4}\,b^{13/4}}}\right )\,{\left (a\,d-b\,c\right )}^3\,1{}\mathrm {i}}{{\left (-a\right )}^{3/4}\,b^{13/4}}-\frac {\mathrm {atan}\left (\frac {\frac {\left (\frac {8\,\sqrt {x}\,\left (a^6\,d^6-6\,a^5\,b\,c\,d^5+15\,a^4\,b^2\,c^2\,d^4-20\,a^3\,b^3\,c^3\,d^3+15\,a^2\,b^4\,c^4\,d^2-6\,a\,b^5\,c^5\,d+b^6\,c^6\right )}{b^3}-\frac {{\left (a\,d-b\,c\right )}^3\,\left (16\,a^4\,d^3-48\,a^3\,b\,c\,d^2+48\,a^2\,b^2\,c^2\,d-16\,a\,b^3\,c^3\right )\,1{}\mathrm {i}}{2\,{\left (-a\right )}^{3/4}\,b^{13/4}}\right )\,{\left (a\,d-b\,c\right )}^3}{{\left (-a\right )}^{3/4}\,b^{13/4}}+\frac {\left (\frac {8\,\sqrt {x}\,\left (a^6\,d^6-6\,a^5\,b\,c\,d^5+15\,a^4\,b^2\,c^2\,d^4-20\,a^3\,b^3\,c^3\,d^3+15\,a^2\,b^4\,c^4\,d^2-6\,a\,b^5\,c^5\,d+b^6\,c^6\right )}{b^3}+\frac {{\left (a\,d-b\,c\right )}^3\,\left (16\,a^4\,d^3-48\,a^3\,b\,c\,d^2+48\,a^2\,b^2\,c^2\,d-16\,a\,b^3\,c^3\right )\,1{}\mathrm {i}}{2\,{\left (-a\right )}^{3/4}\,b^{13/4}}\right )\,{\left (a\,d-b\,c\right )}^3}{{\left (-a\right )}^{3/4}\,b^{13/4}}}{\frac {\left (\frac {8\,\sqrt {x}\,\left (a^6\,d^6-6\,a^5\,b\,c\,d^5+15\,a^4\,b^2\,c^2\,d^4-20\,a^3\,b^3\,c^3\,d^3+15\,a^2\,b^4\,c^4\,d^2-6\,a\,b^5\,c^5\,d+b^6\,c^6\right )}{b^3}-\frac {{\left (a\,d-b\,c\right )}^3\,\left (16\,a^4\,d^3-48\,a^3\,b\,c\,d^2+48\,a^2\,b^2\,c^2\,d-16\,a\,b^3\,c^3\right )\,1{}\mathrm {i}}{2\,{\left (-a\right )}^{3/4}\,b^{13/4}}\right )\,{\left (a\,d-b\,c\right )}^3\,1{}\mathrm {i}}{{\left (-a\right )}^{3/4}\,b^{13/4}}-\frac {\left (\frac {8\,\sqrt {x}\,\left (a^6\,d^6-6\,a^5\,b\,c\,d^5+15\,a^4\,b^2\,c^2\,d^4-20\,a^3\,b^3\,c^3\,d^3+15\,a^2\,b^4\,c^4\,d^2-6\,a\,b^5\,c^5\,d+b^6\,c^6\right )}{b^3}+\frac {{\left (a\,d-b\,c\right )}^3\,\left (16\,a^4\,d^3-48\,a^3\,b\,c\,d^2+48\,a^2\,b^2\,c^2\,d-16\,a\,b^3\,c^3\right )\,1{}\mathrm {i}}{2\,{\left (-a\right )}^{3/4}\,b^{13/4}}\right )\,{\left (a\,d-b\,c\right )}^3\,1{}\mathrm {i}}{{\left (-a\right )}^{3/4}\,b^{13/4}}}\right )\,{\left (a\,d-b\,c\right )}^3}{{\left (-a\right )}^{3/4}\,b^{13/4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________